package com.hengpeng.msls.port.client.message;

import java.util.Date;
import java.util.List;

import com.hengpeng.msls.port.client.vo.client.Problem;

public class InquiryMessage
{
	private static final long serialVersionUID = 8364600551778923771L;

	/**
	 * id
	 */
	private Long id;

	/**
	 * 关闭时间
	 */
	private Date closeTime;

	/**
	 * 创建时间
	 */
	private Date createTime = new Date();

	/**
	 * 是否有效
	 */
	private String isValid;

	/**
	 * 发起人
	 */
	private String sponor;

	/**
	 * 开启时间
	 */
	private Date startTime;

	/**
	 * 会员店编号
	 */
	private String storeId;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 今天是否已经投票过 YES NO
	 */
	private String isRestrict;

	/**
	 * 是否已经过期
	 */
	private String isSure;

	/**
	 * 投票问题选项
	 */
	private List<Problem> problemList;

	public List<Problem> getProblemList()
	{
		return problemList;
	}

	public void setProblemList(List<Problem> problemList)
	{
		this.problemList = problemList;
	}

	public String getIsSure()
	{
		return isSure;
	}

	public void setIsSure(String isSure)
	{
		this.isSure = isSure;
	}

	public String getIsRestrict()
	{
		return isRestrict;
	}

	public void setIsRestrict(String isRestrict)
	{
		this.isRestrict = isRestrict;
	}

	public Date getCloseTime()
	{
		return closeTime;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public String getSponor()
	{
		return sponor;
	}

	public Date getStartTime()
	{
		return startTime;
	}

	public String getStoreId()
	{
		return storeId;
	}

	public String getTitle()
	{
		return title;
	}

	public void setCloseTime(Date closeTime)
	{
		this.closeTime = closeTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public void setSponor(String sponor)
	{
		this.sponor = sponor;
	}

	public void setStartTime(Date startTime)
	{
		this.startTime = startTime;
	}

	public void setStoreId(String storeId)
	{
		this.storeId = storeId;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getIsValid()
	{
		return isValid;
	}

	public void setIsValid(String isValid)
	{
		this.isValid = isValid;
	}

}
